
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGOffCenterPerspectiveCamera.h>
#include <OpenSG/OSGOffCenterPerspectiveCameraBase.h>
#include <OpenSG/OSGDrawAction.h>
#include <OpenSG/OSGViewport.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_OffCenterPerspectiveCamera_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_OffCenterPerspectiveCamera()
{
    scope* osg_OffCenterPerspectiveCameraBase_scope = new scope(
    class_< osg::OffCenterPerspectiveCameraBase, bases< osg::PerspectiveCamera > , boost::noncopyable >("OffCenterPerspectiveCameraBase", no_init)
//        .def_readonly("PrincipalPointFieldMask", &osg::OffCenterPerspectiveCameraBase::PrincipalPointFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::OffCenterPerspectiveCameraBase::MTInfluenceMask)
        .def("getClassType", &osg::OffCenterPerspectiveCameraBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::OffCenterPerspectiveCameraBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::OffCenterPerspectiveCameraBase::*)() )&osg::OffCenterPerspectiveCameraBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::OffCenterPerspectiveCameraBase::*)() const)&osg::OffCenterPerspectiveCameraBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::OffCenterPerspectiveCameraBase::getContainerSize)
        //.def("getPrincipalPoint", (osg::Vec2f& (osg::OffCenterPerspectiveCameraBase::*)() )&osg::OffCenterPerspectiveCameraBase::getPrincipalPoint, return_value_policy< copy_const_reference >())
        .def("getPrincipalPoint", (const osg::Vec2f& (osg::OffCenterPerspectiveCameraBase::*)() const)&osg::OffCenterPerspectiveCameraBase::getPrincipalPoint, return_value_policy< copy_const_reference >())
        .def("setPrincipalPoint", &osg::OffCenterPerspectiveCameraBase::setPrincipalPoint)
        .def("getBinSize", &osg::OffCenterPerspectiveCameraBase::getBinSize)
        .def("copyToBin", &osg::OffCenterPerspectiveCameraBase::copyToBin)
        .def("copyFromBin", &osg::OffCenterPerspectiveCameraBase::copyFromBin)
        .def("create", &osg::OffCenterPerspectiveCameraBase::create)
        .def("createEmpty", &osg::OffCenterPerspectiveCameraBase::createEmpty)
        .def("shallowCopy", &osg::OffCenterPerspectiveCameraBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::OffCenterPerspectiveCameraBase::NextFieldId;
    scope().attr("PrincipalPointFieldId") = (int)osg::OffCenterPerspectiveCameraBase::PrincipalPointFieldId;

    delete osg_OffCenterPerspectiveCameraBase_scope;

    class_< osg::OffCenterPerspectiveCamera, bases< osg::OffCenterPerspectiveCameraBase > , boost::noncopyable, osg::OffCenterPerspectiveCameraRefPtr >("OffCenterPerspectiveCamera", no_init)
        .def("getClassname", &osg::OffCenterPerspectiveCamera::getClassname)
        .def("changed", &osg::OffCenterPerspectiveCamera::changed)
        //.def("draw", &osg::OffCenterPerspectiveCamera::draw)
        .def("getProjection", &osg::OffCenterPerspectiveCamera::getProjection)
        .def("dump", &osg::OffCenterPerspectiveCamera::dump, osg_OffCenterPerspectiveCamera_dump_overloads_0_2())
        .staticmethod("getClassname")
    ;


    register_ptr_to_python<osg::OffCenterPerspectiveCameraPtr>();
    implicitly_convertible<osg::OffCenterPerspectiveCameraRefPtr, osg::OffCenterPerspectiveCameraPtr>();
    implicitly_convertible<osg::OffCenterPerspectiveCameraPtr, osg::PerspectiveCameraPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::OffCenterPerspectiveCameraPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::OffCenterPerspectiveCameraPtr>);
}

